/*****************************************************************************
	SNEGA UTILITIES 0.7a
	Copyright (C) 2009, Xiaohan Tian (snega0223)
	
	http://code.google.com/p/snega-utilities/
	
	This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License(LGPL) as
	published by the Free Software Foundation, either version 3 of the 
	License, or(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.
	
	You should have received a copy of the GNU Lesser General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*****************************************************************************/

package org.sng.util.web;

import java.util.*;

import org.sng.util.web.elmt.*;

public class DefaultNodeFactory {
	
	public static void CreateDefaultNodeFactory(HashMap<String, Node> map)
	{
		map.put("_sng_util_end_head", new NodeEndHead());
		map.put("_sng_util_start_body", new NodeStartBody());
		map.put("_sng_util_end_body", new NodeEndBody());
		
		map.put("write", new NodeWrite());
		map.put("textfield", new NodeTextField());
		map.put("button", new NodeButton());
		map.put("select", new NodeSelect());
		map.put("option", new NodeOption());
		map.put("textbox", new NodeTextBox());
		map.put("textarea", new NodeTextArea());
		map.put("container", new NodeContainer());
		map.put("variable", new NodeVariable());
		map.put("tag", new NodeTag());
		map.put("call", new NodeCall());
		map.put("foreach", new NodeForeach());
	}

}
